﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace DataBase.From {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "t_TempPBUS", DisableSyncStructure = true)]
	public partial class TTempPBUS {

		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public long Id { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string A0Batterystatus { get; set; }

		[JsonProperty]
		public int? A0BatteryTime { get; set; }

		[JsonProperty]
		public int? A0ComNum { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string A0Id { get; set; }

		[JsonProperty]
		public int? A0SucNum { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string A0Version { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string A1Batterystatus { get; set; }

		[JsonProperty]
		public int? A1BatteryTime { get; set; }

		[JsonProperty]
		public int? A1ComNum { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string A1Id { get; set; }

		[JsonProperty]
		public int? A1SucNum { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string A1Version { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string B0Batterystatus { get; set; }

		[JsonProperty]
		public int? B0BatteryTime { get; set; }

		[JsonProperty]
		public int? B0ComNum { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string B0Id { get; set; }

		[JsonProperty]
		public int? B0SucNum { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string B0Version { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string B1Batterystatus { get; set; }

		[JsonProperty]
		public int? B1BatteryTime { get; set; }

		[JsonProperty]
		public int? B1ComNum { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string B1Id { get; set; }

		[JsonProperty]
		public int? B1SucNum { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string B1Version { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string C0Batterystatus { get; set; }

		[JsonProperty]
		public int? C0BatteryTime { get; set; }

		[JsonProperty]
		public int? C0ComNum { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string C0Id { get; set; }

		[JsonProperty]
		public int? C0SucNum { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string C0Version { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string C1Batterystatus { get; set; }

		[JsonProperty]
		public int? C1BatteryTime { get; set; }

		[JsonProperty]
		public int? C1ComNum { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string C1Id { get; set; }

		[JsonProperty]
		public int? C1SucNum { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string C1Version { get; set; }

		[JsonProperty, Column(Name = "status", StringLength = -2)]
		public string Status { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string TerminalId { get; set; }

		[JsonProperty]
		public DateTime? Time { get; set; }

	}

}
